# 数字的阶乘

def get_jiecheng(num):
    result = 1
    while num > 0:
        result *= num
        num -= 1
    return result


print("jiecheng 6 = ", get_jiecheng(6))
print("jiecheng 3 = ", get_jiecheng(3))
print("jiecheng 100 = ", get_jiecheng(100))
